package com.common.platform.sys.dicmap;

import com.common.platform.base.dict.AbstractDictMap;

public class UserDict extends AbstractDictMap {
    @Override
    public void init() {
        put("userId", "账号");
        put("avatar", "头像");
        put("account", "账号");
        put("name", "名字");
        put("birthday", "生日");
        put("sex", "性别");
        put("email", "电子邮箱");
        put("phone", "电话");
        put("roleId", "角色名称");
        put("deptId", "部门名称");
        put("roleIds", "角色名称集合");
    }

    @Override
    protected void initBeWrapped() {
        putFieldWarpperMethodName("userId", "getUserAccountById");
        putFieldWarpperMethodName("sex", "getSexName");
        putFieldWarpperMethodName("deptId", "getDeptName");
        putFieldWarpperMethodName("roleId", "getSingleRoleName");
        putFieldWarpperMethodName("roleIds", "getRoleName");
    }
}
